<table>
	<tr>
		<td>ID</td>
		<td>Empresa</td>
        <td>NIF</td>
        <td>Nome</td>
        <td>Rua</td>
        <td>Cidade</td>
        <td>CP</td>
        <td>Pais</td>
        <td>Telefone</td>
        <td>Tipo</td>
        <td>CAE</td>
        <td>Filial</td>
        <td>email</td>
        <td>Obs</td>
        <td>data</td>
	</tr>
{foreach from=$agentes item=value}
	<tr>
		<td>{$value->id}</td>
		<td>{$value->empresa}</td>
        <td>{$value->nif}</td>
        <td>{$value->nome}</td>
        <td>{$value->rua}</td>
        <td>{$value->cidade}</td>
        <td>{$value->cep}</td>
        <td>{$value->pais}</td>
        <td>{$value->telefone}</td>
        <td>{$value->tipo}</td>
        <td>{$value->cae}</td>
        <td>{$value->filial}</td>
        <td>{$value->email}</td>
        <td>{$value->obs}</td>
        <td>{$value->data}</td>
	</tr>
{/foreach}
</table>
